/*
Copyright (C) 2003 Michael Würtinger

This file is part of Dynamicengine.

Dynamicengine is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3
of the License, or (at your option) any later version.

Dynamicengine is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Dynamicengine. If not, see http://www.gnu.org/licenses/.
*/


#ifndef MATERIAL_H
#define MATERIAL_H

class CMaterial
{
public:
	CMaterial(float _D, float _max_pressure, float _max_pull, float _mass);
	~CMaterial();
public:
	float GetD(float l);
	float GetMaxPressure();
	float GetMaxPull();
	float GetMass(float l);
public:
	float D;
	float max_pressure;
	float max_pull;
	float mass;
};

extern CMaterial mat_steel;

#endif
